package com.fps.web.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.fpswork.core.exception.exception.BusinessException;
import com.fpswork.core.model.PageEntity;
import com.fps.web.dao.BasedictionaryDao;
import com.fps.web.model.Basedictionary;
import com.fps.web.service.BasedictionaryService;
@Service
@Transactional
public class BasedictionaryServiceImpl implements BasedictionaryService{
    
    @Autowired
    BasedictionaryDao basedictionaryDao;
    public PageEntity queryBasedictionaryList(PageEntity pageEntity)  throws BusinessException{
     	return basedictionaryDao.queryBasedictionaryList(pageEntity);
    }
	public Basedictionary addBasedictionary(Basedictionary basedictionary)  throws BusinessException{
		return basedictionaryDao.addBasedictionary(basedictionary);
	}
	public Basedictionary updateBasedictionary(Basedictionary basedictionary)  throws BusinessException{
		return basedictionaryDao.updateBasedictionary(basedictionary);
	}
	public Basedictionary queryBasedictionaryByID(String id)  throws BusinessException{
		return basedictionaryDao.queryBasedictionaryByID(id);
	}
	public Boolean deleteBasedictionary(Basedictionary basedictionary)  throws BusinessException{
		return basedictionaryDao.deleteBasedictionary(basedictionary);
	}
}
